package org.byqh.dqeai.controller;

import io.swagger.v3.oas.annotations.tags.Tag;
import org.byqh.dqeai.common.Json;
import org.byqh.dqeai.entity.SoftSystem;
import org.byqh.dqeai.entity.proxy.SoftSystemProxy;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/softSystem")
@Tag(name = "系统[SoftSystem] - 软件系统管理")
public class SoftSystemController
        extends BaseOpController<SoftSystem, SoftSystemProxy> {
    /**
     * 查询所有。
     *
     * @return 所有数据
     */
    @GetMapping("list")
    public Json<List<SoftSystem>> list() {

        return listEach();
    }
}